Changing ${ExecutableName} in mscore/CmakeLists.txt yields a non-build

• Apr 27, 2014 - 12:42
Type
Functional
Severity
S5 - Suggestion
Status
closed
Project

I tried to change ${ExecutableName} in /mscore/CMakeLists.txt in order to try and have a nightly deb that doesn't have file conflicts with 1.3. However, there are a bunch of hardcoded target_link_libraries(mscore ... ) below this that cause it to fail. A naïve replace of 'mscore' with '${ExecutableName}' in the obvious locations seems to function as expected: cmake, make, make install, make package, and mscore2 (in my instance) all work as expected.


Comments

Now having a marginal clue about cmake's target system, I'm now playing around with the property OUTPUT_NAME to achieve this same outcome.